<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // 对象的键们
    let obj = {
      name:'zs',
      age: 12,
      gender: 'man'
    }
  console.log(Object.keys(obj))  // key 存储在一个数组中 对象的键们
  console.log(Object.values(obj))  // value存储在一个数组中 对象的值们
  </script>
</body>
</html>